package com.example.design.dahua.bridge;


import java.io.Console;

/**
 * @author ebnew
 * 客户端测试
 */
public class CustomTest {
    public static void main(String[] args) {

        AbstractHandsetBrand ab;
        ab=new HandsetBrandM();
        ab.setHandsetSoft(new HandsetGame());
        ab.run();
        ab.setHandsetSoft(new HandsetAddressList());
        ab.run();

        ab=new HandsetBrandN();
        ab.setHandsetSoft(new HandsetAddressList());
        ab.run();
        ab.setHandsetSoft(new HandsetGame());
        ab.run();



    }
}
